<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});

Route::get('test/insert/', 'TestController@insert');
Route::get('test/select/', 'TestController@select');
Route::get('test/select1/', 'TestController@select_1');
Route::get('test/select2/', 'TestController@select_2');
Route::post('user/upload/', 'UserController@upload')->name('upload');
Route::get('user/toupload/', 'UserController@toupload');
Route::get('user/showimage/', 'UserController@showImage');
Route::post('back/lakala', 'RebackController@lakalaback');
Route::post('back/baifu/', 'RebackController@baifuback');
Route::post('back/baifu/single/', 'RebackController@baifuback4Single');
Route::get('wechat/token/', 'WechatController@getAccessToken');
Route::post('lakala/addmch/', 'LklController@addMch');
Route::get('lakala/searchmch/', 'LklController@searchShopNo');
Route::post('lakala/upload/', 'LklController@uploadEnclosure');
Route::post('lakala/bank/', 'LklController@searchBankMsg');
Route::any('baifu/pay/', 'BaifuController@Pay');
Route::any('baifu/search/', 'BaifuController@searchResult4Order');
Route::any('baifu/single/', 'BaifuController@singlePayment4Baifu');
Route::any('baifu/singleT0/', 'BaifuController@singleT0Payment4Baifu');
Route::any('baifu/singleSearch/', 'BaifuController@searchResult4Single');
Route::any('baifu/balanceSearch/', 'BaifuController@searchBalance');